package com.lvy.hczn.front.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lvy.hczn.front.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 农户信息
 *
 * @author yw
 * @date 2022-02-17 15:28:09
 */
@Data
@TableName("producer")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "农户信息")
public class Producer extends BaseModel<Producer> {

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String phone;

    /**
     * 身份证
     */
    @ApiModelProperty(value = "身份证")
    private String idCard;

    /**
     * 所属供应商/经纪人
     */
    @ApiModelProperty(value = "所属供应商/经纪人")
    private Long supplierId;

    /**
     * 积分
     */
    @ApiModelProperty(value = "积分")
    private BigDecimal integral;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址")
    private String address;
}
